package com.ww.learn.collection

fun main() {
    val sites = mapOf("pragprog" to "https://www.pragprog.com", "agiledeveloper" to "https://agiledeveloper.com")
    println(sites.size)

    println(sites.containsKey("agiledeveloper")) // true
    println(sites.containsValue("http://www.example.com")) // false
    println(sites.contains("agiledeveloper")) // true
    println("agiledeveloper" in sites) // true

    val progProgSite: String? = sites.get("pragprog")
}